export function myScroll(element) {
  let child = element.firstElementChild || element.firstChild
  offsetTop = 50 //最大溢出值
  cup = 0 //滚动位置
  isDown = false
  hdld = 0 //滑动的力度
  fl = 50
  isInTranstion = false //是否滚动中
  element.addEventListener('touchstart', function (e) {
    if (isInTranstion) return
    clearTimeout(this._timer)
  })
}
